#answer {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  height: calc(100% - 20px);
  border: 2px solid #409eff;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .5);
}

#answer >>> .topic {
  flex: 1;
}

#top-bar {
  display: flex;
  align-items: center;
  padding: 10px 20px 0 20px;
}

#top-bar .group {
  flex: 1;
}

#top-bar button {
  margin-left: 15px;
}

#timer {
  text-align: center;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#timer p {
  margin-left: 15px;
}

#timer >>> button {
  position: absolute;
  right: 0;
}

#answer-process {
  position: relative;
  text-align: center;
  display: flex;
  align-items: center;
}

#answer-process > div {
  flex: 1;
}

#answer-process > p {
  margin-left: 10px;
}

#answer-card {
  height: 30%;
  overflow-x: hidden;
  border-top: 2px solid #409eff;
}

#answer-card > div {
  height: 100%;
  overflow-x: scroll;
}

#answer-card .container {
  display: flex;
  flex-wrap: wrap;
}

#switch-topic {
  display: flex;
}

#timer, #answer-process {
  width: 100%;
}

#switch-topic button:nth-child(2) {
  max-width: 50px;
  margin: 0 2px;
  border: 2px solid #409EFF;
  transition: all .3s;
  position: relative;
}

#switch-topic .show-an-card:before {
  content: '';
  border: 6px solid;
  position: absolute;
  top: -8px;
  color: #409EFF;
  left: 50%;
  transform: translate(-50%, -0%) rotate(45deg);
  border-right-color: transparent;
  border-bottom-color: transparent;
}

#switch-topic button {
  background: #409EFF;
  color: white;
  font-size: 16px;
  line-height: 40px;
  flex: 1;
}

#switch-topic button i {
  pointer-events: none;
}

.show-an-card {
  background: white !important;
  border-color: #409EFF !important;
  color: black !important;
}

.que-num-card {
  flex-basis: 10%;
  padding: 5px;
}

.que-num-card label {
  padding: 10px 0;
  display: block;
  text-align: center;
  border: 2px solid #8d8d8d;
  background: #cccccc;
  transition: all .3s;
}

.que-num-card input {
  display: none;
}

.que-num-card input:checked + label {
  background: white !important;
  color: black !important;
}

.is-answer > label {
  background: #67C23A !important;
  border-color: #67C23A;
  color: white;
}

.no-answer > label {
  background: #F56C6C;
  border-color: #F56C6C;
  color: white;
}
